#
# Copyright (C) 2010 RobotCub Consortium
# Author: Lorenzo Natale
# CopyPolicy: Released under the terms of the GNU GPL v2.0.
#

SET(KEYWORD "emotionInterface")

PROJECT(${KEYWORD})

INCLUDE_DIRECTORIES(
    ${PROJECT_SOURCE_DIR}
)

# Search for source code.
FILE(GLOB folder_source *.cpp *.cc *.c)
FILE(GLOB folder_header *.h)
SOURCE_GROUP("Source Files" FILES ${folder_source})
SOURCE_GROUP("Header Files" FILES ${folder_header})


ADD_EXECUTABLE(${KEYWORD} ${folder_source} ${folder_header})
TARGET_LINK_LIBRARIES(${KEYWORD} ${YARP_LIBRARIES})

INSTALL(TARGETS ${KEYWORD} DESTINATION bin COMPONENT Core)